// 引入封装的公共的请求插件
import {GET, POST, UPLOAD} from '@/services/request.js'

export default{
    ProductAddCart(data = {})
    {
        return POST({
            url:'product/cart/add',
            params:data
        })
    },
    CartIndex(data = {})
    {
        return POST({
            url:'product/cart/index',
            params:data
        })
    },
    CartNums(data = {})
    {
        return POST({
            url:'product/cart/nums',
            params:data
        })
    },
    AddrOrder(data = {})
    {
        return POST({
            url:'user/address/order',
            params:data
        })
    },
    OrderData(data = {})
    {
        return POST({
            url:'product/cart/cartlist',
            params:data
        })
    },
    Confirm(data = {})
    {
        return POST({
            url:'product/order/Confirm',
            params:data
        })
    }
}